import request from '@/utils/request'

// 查询存储业内动态信息的列表
export function listLcTrends(query) {
  return request({
    url: '/index/lcTrends/list',
    method: 'get',
    params: query
  })
}

// 查询存储业内动态信息的详细
export function getLcTrends(id) {
  return request({
    url: '/index/lcTrends/' + id,
    method: 'get'
  })
}

// 新增存储业内动态信息的
export function addLcTrends(data) {
  return request({
    url: '/index/lcTrends',
    method: 'post',
    data: data
  })
}

// 修改存储业内动态信息的
export function updateLcTrends(data) {
  return request({
    url: '/index/lcTrends',
    method: 'put',
    data: data
  })
}

// 删除存储业内动态信息的
export function delLcTrends(id) {
  return request({
    url: '/index/lcTrends/' + id,
    method: 'delete'
  })
}
